package com.xianrenit.xianrenpuzi.manager.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysUserRoleMapper {
    void deleteRolesByUserId(Long userId);

    void assignRoles2User(@Param("userId") Long userId,@Param("roleIds") List<Long> roleIds);
}
